<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('日常支付打印')" />
	<style type="text/css">
	body {
			overflow-x: auto;
		}
		table {
			font-size: 12px;
			font-weight:500;
			font-family: 线体;
			margin-left: 80px;
	    	border-collapse: collapse;
		}
	    table, tr, td{
		    text-align: center;
		    width: 1100px;
		    height: 30px;
		}
		.items td{ height:30px; border: 1px solid black;}
		
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
<body class="white-bg">
	
    <table style="margin-top: 0px;">
		<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
            <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
	    <tr>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 15%">&nbsp;</td>
			<td style="width: 20%">&nbsp;</td>
			<td style="width: 7%">&nbsp;</td>
			<td style="width: 7%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
		<tr style="height: 60px">
			<td ><img style="height: 30px;" src="/ruoyi.png"></td>
			<td colspan="7" style="font-size: 25px;font-family: 线体;font-weight:500;">湖北鄂能电力建设有限公司-日常支付单</td>
		</tr>
		<tr >
			<td >编号：<span th:text="${obj.orderNo}"></span></td>
			<td colspan="7" style="font-size: 11px;font-family: 线体;font-weight:500;">
			<b><span th:text="${#dates.format(obj.sqrAt, 'yyyy年MM月dd日')}"></span></b>
			</td>
		</tr>
	</table>
	<table class="items">
<!-- 		<tr> -->
<!-- 			<td style="width: 12%"><b>事项说明</b></td> -->
<!-- 			<td colspan="5" th:text="${obj.gcProjectName}">&nbsp;</td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 			<td style="width: 12%"><b>付款时间</b></td> -->
<!-- 			<td colspan="5" th:text="${#dates.format(obj.qtfksj, 'yyyy年MM月dd日')}">&nbsp;</td> -->
<!-- 		</tr> -->
		<tr>
			<td style="width: 12%"><b>单位名称</b></td>
			<td style="width: 30%" th:text="${obj.tkdw}">&nbsp;</td>
			<td style="width: 12%"><b>纳税识别号/身份证号</b></td>
			<td style="width: 12%" colspan="3" th:text="${obj.nssbh}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>开户银行</b></td>
			<td style="width: 30%" th:text="${obj.khyh}">&nbsp;</td>
			<td style="width: 12%"><b>账户信息</b></td>
			<td style="width: 12%" colspan="3" th:text="${obj.tkzh}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>序&nbsp;&nbsp;&nbsp;&nbsp;号</b></td>
			<td style="width: 12%"><b>支付事项摘要说明</b></td>
			<td style="width: 12%"><b>支付金额</b></td>
<!-- 			<td style="width: 12%"><b>支付方式</b></td> -->
			<td style="width: 24%" colspan="3"><b>备注</b></td>
		</tr>
		<tr th:each="lis,status:${obj.item}">
			<td style="width: 12%" th:text="${status.count}">&nbsp;</td>
			<td style="width: 12%" th:text="${lis.descs}">&nbsp;</td>
			<td style="width: 12%" th:text="${lis.jine}">&nbsp;</td>
<!-- 			<td style="width: 12%" th:text="${lis.type}">&nbsp;</td> -->
			<td style="width: 24%" th:text="${lis.memo}" colspan="3">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>合计金额(大写)</b></td>
			<td style="width: 12%" th:text="${obj.heje}">&nbsp;</td>
			<td  colspan="4">¥<span th:text="${obj.hejexx}"></span></td>
		</tr>
	</table>
	<table style="margin-top: 15px;">
		<tr>
			<td colspan="2" style="width: 22%;text-align: left;"><b>申请人：</b><span th:text="${obj.sqr}"></span></td>
			<td style="width: 10%;text-align: left;"><b>总经理审批：</b><span th:text="${obj.ldsp}"></span></td>
			<td style="width: 10%">&nbsp;</td>
			<td colspan="2" style="width: 14%;text-align: left;"><b>财务审核：</b><span th:text="${obj.cwsh}"></span></td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
	</table>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
    </script>
</body>
</html>